package orm;

import java.sql.Timestamp;

/**
 * Topic entity. @author MyEclipse Persistence Tools
 */

public class Topic implements java.io.Serializable {

	// Fields

	private Integer topicid;
	private Integer userid;
	private String groupName;
	private String name;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public Topic() {
	}

	/** full constructor */
	public Topic(Integer userid, String groupName, String name,
			Timestamp createTime) {
		this.userid = userid;
		this.groupName = groupName;
		this.name = name;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getTopicid() {
		return this.topicid;
	}

	public void setTopicid(Integer topicid) {
		this.topicid = topicid;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}